package com.allwees.bs.c.module.order.req;

import com.allwees.bs.core.modelbase.req.Req;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.StringUtils;

import java.util.List;

/**
 *
 *
 * @author yangylsky
 *
 */
@Getter
@Setter
public class CartReq extends Req {

	// 已登录
	private String cartUuid;
	private String skuUuid;
	private Integer count;

	// 未登录计算
	private List<CartItemReq> cartItems;

	public boolean isNotLogined() {
		return StringUtils.isBlank(cartUuid);
	}
}
